<%--
  Created by IntelliJ IDEA.
  User: 86188
  Date: 2022/6/9
  Time: 10:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册</title>
</head>
<body>
    <form action="/user/register" method="post">
        <div>
            <label>用户名：要求6~18位</label>
            <input type="text" name="userName" />
        </div>
        <div>
            <label>密码： 包含 字母、数字、下划线</label>
            <input type="password" name="password"/>
        </div>
        <div>
            <label>确认密码：</label>
            <input type="password" name="repassword"/>
        </div>
        <div>
            <input type="text" name="code" placeholder="请输入验证码"/>
            <img src="/validCode" style="width: 180px ; height: 50px"/>
        </div>
        <button type="submit" >提交</button>
        <button type="submit">取消</button>
    </form>

    <h1>${register}</h1>
</body>
</html>
